home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Technical Documentation / Sample Code / Snippets / Imaging / Graphics / RotateString / RotateString ReadMe < prev    next >
Encoding:
Text File  |  1993-01-18  |  1.1 KB  |  31 lines  |  [TEXT/KAHL]

  1. RotateString.Lib version 2.0
  2.  
  3. added a direction parameter to the end...  Now call it like this:
  4.  
  5. #include <RotateString.h>
  6.  
  7. err = RotateString("\pRotate Me",&rotatedBitMap,clockWise);
  8.  
  9. err = RotateString("\pRotate Me",&rotatedBitMap,counterClockWise);
  10.  
  11. It will rotate in the direction you specify.
  12.  
  13. ALSO fixed some LAME bugs, such as the rotate routine did not preserve the current port,
  14. and it also did not dispose of a temporary bitmap it used.  Should be in good shape now.
  15.  
  16. - Brigham (8/27/92)
  17.  
  18. __________________________________________________________________________________________
  19. RotateString.Lib version 1.0
  20.  
  21. This contains the code for rotating a string 90 degrees counter clockwise.  This one
  22. is easy to use.  Just call  RotateString("\pRotate Me",&rotatedBitMap), and you will get 
  23. back a BitMap the size of the text that you can CopyBits anywhere you like.  RotateString
  24. will allocate the destination BitMap for you.
  25.  
  26. Also, I have included a library and THINK Pascal sample for those who need it.
  27.  
  28. - Brigham (7/??/92)
  29.  
  30.  
  31. Find any bugs, or have any comments?  Link me at BRIGHAM, or send them to DEVSUPPORT.